package hu.diploma.web.client.panels;

import hu.diploma.web.shared.webvos.DeviceWebVo;

import com.extjs.gxt.ui.client.widget.Text;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Widget;

public class DevicesPanel extends HorizontalPanel {
	private static Widget instanse;
	private static DeviceWebVo deviceWebVo;

	private DevicesPanel() {
		this.setStyleName("footer");

		setWidth("100%");
		Text text = new Text("© 2008 BeerBase Corp.");

		this.add(text);
		this.setCellHorizontalAlignment(text, ALIGN_RIGHT);
	}

	public static Widget getWidget() {
		if (instanse == null) {
			instanse = new DevicesPanel();
		}
		return instanse;
	}

	public static DeviceWebVo getDeviceWebVo() {
		return deviceWebVo;
	}
}
